<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="/res/back/css/base.css" rel="stylesheet" type="text/css" />
    <link href="/res/third/bootstrap3/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="/res/common/js/jquery.1.9.1.min.js" type="text/javascript"></script>
    <script src="/res/third/bootstrap3/bootstrap.autocomplete.js" type="text/javascript"></script>
    <script src="/res/third/artDialog/jquery.artDialog.js" type="text/javascript"></script>
    <script src="/res/third/validate/jquery.validate.js" type="text/javascript"></script>
    <script src="/res/third/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="/res/third/easyUI/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript" src="/res/third/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/res/third/ueditor/ueditor.all.js"></script>
    <script type="text/javascript" src="/res/third/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>

<body>
    <div class="panel panel-info">
        <div class="panel-heading">企业资质管理</div>
        <div class="panel-body">
            <form class="form-horizontal" action="/company/asset/check.do" method="post">
                <input type="hidden" name="id" value="${asset.id!}">
                <div class="form-group">
                    <label class="col-sm-2 control-label">公司名称</label>
                    <div class="col-sm-10">
                        ${asset.companyName!}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">身份类型</label>
                    <div class="col-sm-10">
                        [#if (asset.isprovider!0) == 1]供应商[/#if]
                        [#if (asset.ispurchaser!0) == 1]采购商[/#if]
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">资质图片</label>
                    <div class="col-sm-10">
                        <img src="${asset.attachfile!}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">审核状态</label>
                    <div class="col-sm-10">
                        [#if (asset.status!0) == 0]
                        <label class="radio-inline">
                            <input type="radio" name="status" checked id="inlineRadio1" value="0">待审核
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="status" [#if (asset.status!0) == 1]checked[/#if] id="inlineRadio2" value="1">通过
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="status" [#if (asset.status!0) == 2]checked[/#if] id="inlineRadio3" value="2">拒绝
                        </label>
                        [#else]
                        [#assign statusArray = ['待审核','通过', '拒绝']]
                        ${statusArray[(asset.status!0)]}
                        [/#if]
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-info">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</body>
</html>